<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/MapEditor.Web" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/MapEditor.Web" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="ArrayOfBaseObject">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="BaseObject" nillable="true" type="tns:BaseObject" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfBaseObject" nillable="true" type="tns:ArrayOfBaseObject" />
  <xs:complexType name="BaseObject">
    <xs:sequence>
      <xs:element minOccurs="0" name="BaseObjectID" type="xs:int" />
      <xs:element minOccurs="0" name="Height" type="xs:int" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ObjImages" nillable="true" type="tns:ArrayOfObjectImage" />
      <xs:element minOccurs="0" name="ObjType" type="tns:ObjectType" />
      <xs:element minOccurs="0" name="Walkable" type="xs:boolean" />
      <xs:element minOccurs="0" name="Targetable" type="xs:boolean" />
      <xs:element minOccurs="0" name="Attackable" type="xs:boolean" />
      <xs:element minOccurs="0" name="Width" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="BaseObject" nillable="true" type="tns:BaseObject" />
  <xs:complexType name="ArrayOfObjectImage">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ObjectImage" nillable="true" type="tns:ObjectImage" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfObjectImage" nillable="true" type="tns:ArrayOfObjectImage" />
  <xs:complexType name="ObjectImage">
    <xs:sequence>
      <xs:element minOccurs="0" name="AnimationType" type="xs:int" />
      <xs:element minOccurs="0" name="Direction" type="xs:int" />
      <xs:element minOccurs="0" name="FrameCount" type="xs:int" />
      <xs:element minOccurs="0" name="FramesPerRow" type="xs:int" />
      <xs:element minOccurs="0" name="ImageUrl" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PreviewUrl" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ObjectImage" nillable="true" type="tns:ObjectImage" />
  <xs:simpleType name="ObjectType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Terrain" />
      <xs:enumeration value="Map" />
      <xs:enumeration value="Game" />
      <xs:enumeration value="Creature" />
      <xs:enumeration value="Effect" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="ObjectType" nillable="true" type="tns:ObjectType" />
  <xs:complexType name="ArrayOfOpacityResource">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="OpacityResource" nillable="true" type="tns:OpacityResource" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfOpacityResource" nillable="true" type="tns:ArrayOfOpacityResource" />
  <xs:complexType name="OpacityResource">
    <xs:sequence>
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="OpacityMaskID" type="xs:int" />
      <xs:element minOccurs="0" name="OpacityUrl" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="OpacityResource" nillable="true" type="tns:OpacityResource" />
</xs:schema>